package com.augn.service;

import com.augn.entity.Goods;
import com.augn.entity.Result;
import com.augn.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author augn
 * @since 2022-09-22
 */
public interface IGoodsService extends IService<Goods> {

    Result<?> insertOneGoods(Goods goods);
    Result<?> deleteOneGoods(Integer id);
    Result<?> updateOneGoods(Goods goods);
    Result<?> getOneGoods(Integer id);
    Result<?> getPartGoods(Goods goods,Integer pageNum,Integer pageSize);
}
